﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_Banner.ascx.cs" Inherits="Stationery.UC.UC_Banner" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dxuc" %>
<table width="100%" cellspacing="5">
    <tr>
        <td width="130px">
            Loại Banner</td>
        <td width="300px">
            <dxe:ASPxComboBox ID="ASPxComboBox1" runat="server" ValueType="System.String" 
                Width="100%">
                <Items>
                    <dxe:ListEditItem Text="Banner đầu <.jpg> (1024*105)" Value="banner_top.jpg" />
                    <dxe:ListEditItem Text="Banner giữa <.swf> (1024*180)" Value="banner_header2.swf" />
                    <dxe:ListEditItem Text="Banner đáy <.gif> (1024*130)" Value="bg_footer.gif" />
                </Items>
            </dxe:ASPxComboBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="ASPxComboBox1" ErrorMessage="Chọn loại banner"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td width="130px">
            Upload banner:
        </td>
        <td width="300px">
            <dxuc:ASPxUploadControl ID="ASPxUploadControl1" runat="server" Width="100%">
            </dxuc:ASPxUploadControl>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
        <td>
            <table>
                <tr>
                    <td>
                        <dxe:ASPxButton ID="ASPxButtonSave" runat="server" Text="Lưu" Width="60px" OnClick="ASPxButtonSave_Click">
                        </dxe:ASPxButton>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
</table>
